package com.mlan.userap.model;

import java.util.ArrayList;
import java.util.List;

public class MsgInquRequ {
    private String groupid;

    private long beforeTicks;

    private int limit;

    private long minTicks;

    private List<String> msgIds;

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public long getBeforeTicks() {
        return beforeTicks;
    }

    public void setBeforeTicks(long beforeTicks) {
        this.beforeTicks = beforeTicks;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public long getMinTicks() {
        return minTicks;
    }

    public void setMinTicks(long minTicks) {
        this.minTicks = minTicks;
    }

    public List<String> getMsgIds() {
        return msgIds;
    }

    public void setMsgIds(List<String> msgIds) {
        this.msgIds = msgIds;
    }
    public MsgInquRequ(String groupid, long beforeTicks, int limit) {
        this.groupid = groupid;
        this.beforeTicks = beforeTicks;
        this.limit = limit;
        this.msgIds = new ArrayList<>();
    }
    public MsgInquRequ(String groupid, long beforeTicks, int limit, long minTicks, List<String> msgIds) {
        this.groupid = groupid;
        this.beforeTicks = beforeTicks;
        this.limit = limit;
        this.minTicks = minTicks;
        this.msgIds = msgIds;
    }
}

